package com.jungbo.file.dto;
import java.io.Serializable;
public class FileDto implements Serializable {
	private int fileseq;
	private int seq;
	private int bid;
	private String filename;
	private long filesize;
	private String filedir;
	private String filedate;
	
	public FileDto() {
	}
	public FileDto(int fileseq, int seq, String filename, long filesize, String filedir,int bid) {
		this.fileseq = fileseq;
		this.seq = seq;
		this.bid = bid;
		this.filename = filename;
		this.filesize = filesize;
		this.filedir = filedir;
	}
	public FileDto(int fileseq, int seq, String filename, long filesize, String filedir,
			String filedate,int bid) {
		this.fileseq = fileseq;
		this.seq = seq;
		this.bid = bid;
		this.filename = filename;
		this.filesize = filesize;
		this.filedir = filedir;
		this.filedate = filedate;
	}
	@Override
	public String toString() {
		return "FileDto [fileseq=" + fileseq + ", seq=" + seq + ", bid=" + bid
				+ ", filename=" + filename + ", filesize=" + filesize
				+ ", filedir=" + filedir + ", filedate=" + filedate + "]";
	}
	public int getFileseq() {
		return fileseq;
	}
	public void setFileseq(int fileseq) {
		this.fileseq = fileseq;
	}
	public int getSeq() {
		return seq;
	}
	public void setSeq(int seq) {
		this.seq = seq;
	}
	public int getBid() {
		return bid;
	}
	public void setBid(int bid) {
		this.bid = bid;
	}
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public long getFilesize() {
		return filesize;
	}
	public void setFilesize(long filesize) {
		this.filesize = filesize;
	}
	public String getFiledir() {
		return filedir;
	}
	public void setFiledir(String filedir) {
		this.filedir = filedir;
	}
	public String getFiledate() {
		return filedate;
	}
	public void setFiledate(String filedate) {
		this.filedate = filedate;
	}
	
}
/*
create table filelists(
fileseq number primary key,
filename varchar2(50) not null,
filesize number not null,
filedir varchar2(50) not null,
filedate date not null
);

create sequence seq_filelists start with 1 increment by 1;


*/